#include "logger.h"
#include <QDebug>
Logger::Logger() {

}

void Logger::debug(QString funName,QString message){
#ifdef QT_DEBUG
    qDebug()<< funName << ":" << message;
#endif
}
void Logger::log(QString funName,QString message){
    qInfo()<< funName << ":" << message;
}
void Logger::warn(QString funName,QString message){
    qWarning()<< funName << ":" << message;
}
void Logger::erro(QString funName,QString message){
    qCritical()<< funName << ":" << message;
}
